import {
  Picker2D,
  Picker3D,
  PickerAssembly,
  PickerMgr,
  Renderer2D,
  Renderer3D,
  RendererAssembly,
  RendererMgr,
} from '@amcax/renderer';

export const useTools = () => ({
  picker: PickerMgr.getPicker<Picker3D>('3d'),
  renderer: RendererMgr.getRender<Renderer3D>('3d'),
  picker2d: PickerMgr.getPicker<Picker2D>('2d'),
  renderer2d: RendererMgr.getRender<Renderer2D>('2d'),
  pickerAssembly: PickerMgr.getPicker<PickerAssembly>('assembly'),
  rendererAssembly: RendererMgr.getRender<RendererAssembly>('assembly'),
});
